package cn.hsa.fqz.task.service;

import cn.hsa.fqz.task.controller.vo.SysCodeQueryVO;
import cn.hsa.fqz.task.controller.vo.SysCodeVO;
import cn.hsa.fqz.task.entity.SysCode;
import cn.hsa.hsaf.core.framework.util.PageResult;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 * @version 1.0
 * @date 2023-11-21 16:55
 */
public interface SysCodeService {

    List<SysCode> getCodeByField(String field);

    List<SysCode> getCodeByPid(String pid);

    PageResult<SysCode> selectSysCodeByPage(SysCodeQueryVO vo);

    Boolean insertSysCodeInfo(SysCodeVO vo);

    Boolean updateSysCodeInfo(SysCodeVO vo);

    Boolean deleteSysCodeInfo(Integer id);

    List<String> selectAllFields();

    Map<String, List<SysCode>> getCodeByFields(List<String> fields);
}
